#ifndef POWERUPS_H
#define POWERUPS_H
#include "Bonus.h"

class DamageMultiplier : public Bonus
{
public:
    DamageMultiplier(Tank *target,
                     Ogre::Real lifetime,
                     float multiplier
                     ):Bonus(target, lifetime),
                       mMultiplier(multiplier)
    {}
    void apply();
    void remove();

private:
    float mMultiplier;
};

class SpeedMultiplier : public Bonus
{
public:
    SpeedMultiplier(Tank *target,
                    Ogre::Real lifetime,
                    float multiplier
                    ):Bonus(target, lifetime),
                      mMultiplier(multiplier)
   {}
    void apply();
    void remove();
private:
    float mMultiplier;
};

class Shield : public Bonus
{
public:
    Shield(Tank *target, float energy):Bonus(target, 0), mEnergy(energy){}
    void apply();
    void remove();
private:
    float mEnergy;

};

#endif // POWERUPS_H
